

#include "../image/image.h"






/*
#include "point.h"
#include "triangle.h"

inline long int imp_geom_area2(ImpPoint A, ImpPoint B, ImpPoint C) {
	return (B.x - A.x)*(C.y - A.y) - (C.x - A.x)*(B.y - A.y);
}

inline float imp_geom_area(ImpPoint A, ImpPoint B, ImpPoint C) {
	return imp_geom_area2(A, B, C) / 2.0;
}

boolean imp_geom_in_left(ImpPoint A, ImpPoint B, ImpPoint C) {
	return imp_geom_area2(A, B, C) > 0;
}

boolean imp_geom_in_left_on(ImpPoint A, ImpPoint B, ImpPoint C) {
	return imp_geom_area2(A, B, C) >= 0;
}

boolean imp_geom_in_right(ImpPoint A, ImpPoint B, ImpPoint C) {
	return imp_geom_area2(A, B, C) < 0;
}

boolean imp_geom_in_right_on(ImpPoint A, ImpPoint B, ImpPoint C) {
	return imp_geom_area2(A, B, C) <= 0;
}

boolean imp_geom_is_collinear(ImpPoint A, ImpPoint B, ImpPoint C) {
	return (imp_geom_area2(A, B, C) == 0);
}

ImpTriangle * imp_geom_is_in_trinangle( ImpTriangle * t, ImpPoint A ) {
	
	ImpPoint * p1;
	ImpPoint * p2;
	ImpPoint * p3;
	
	p1 = IMP_POINT(IMP_SEGMENT(t->e1)->v1);
	p2 = IMP_POINT(IMP_SEGMENT(t->e2)->v1);
	p3 = IMP_POINT(IMP_SEGMENT(t->e3)->v1);
	
}
*/

